﻿using Fantom.Expression;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace An_Im.Expression.Model
{
    //public class KeyPointInformation:INotifyPropertyChanged
    //{
    //    public event PropertyChangedEventHandler PropertyChanged;

    //    /// <summary>
    //    /// 时间。
    //    /// </summary>
    //    public double Time { get { return _time; } set { _time = value; PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("Time")); } } 
    //    private double _time = 0;

    //    /// <summary>
    //    /// 变量表达式。
    //    /// </summary>
    //    public string Value { get; set; } = string.Empty;

    //    /// <summary>
    //    /// 表达式。
    //    /// </summary>
    //    public string Formula { get; set; } = string.Empty;

    //    protected KeyPointInformation() { }

    //    public KeyPointInformation(double time, string value, string formula)
    //    {
    //        Time = time; Value = value; Formula = formula;
    //    }
    //    public KeyPointInformation(double time)
    //    {
    //        Time = time; Value = string.Empty; Formula = string.Empty;
    //    }

    //    public static KeyPointInformation EmptyKeyPoint { get; private set; }

    //    static KeyPointInformation()
    //    {
    //        EmptyKeyPoint = new KeyPointInformation() { Formula = "$", Time = 1, Value = "0" };
    //    }

       
    //}
}
